﻿using System;
using System.Data;
using System.Data.SqlClient;
namespace Infrastructure
{
    public class DapperDao
    {
        private DapperDao()
        {
        }

        /// <summary>
        /// Gets the DapperDao instance.
        /// </summary>
        /// <returns>The instance.</returns>
        public static IDbConnection GetInstance()
        {
            var db = new SqlConnection(Utility.GetConnectionString());
            return db;
        }
    }
}
